#ifndef CURRWEATHERBOX_H
#define CURRWEATHERBOX_H

#include <QWidget>
#include <QPainter>
#include <QPen>
#include <QBrush>
#include <QVBoxLayout>
#include <QLabel>

class CurrWeatherBox : public QWidget
{
    Q_OBJECT
public:
    explicit CurrWeatherBox(QWidget *parent = nullptr,bool isNew=false);
    void set_text(QString text);
    void set_text(QString text,QString text1,QString text2,QString text3);
    void set_text(QPixmap pixmap);
protected:
    void paintEvent(QPaintEvent *event);
    
signals:
    
    
private:
    QColor color;
    QLabel *text;
    QVBoxLayout *layout;
    
    QLabel *text_1;
    QLabel *text_2;
    QLabel *text_3;
};

#endif // CURRWEATHERBOX_H
